import ReactDOM from 'react-dom/client'
import App from './App'
import store from './store'

store.subscribe(() => {
  root.render(<App store={store} />)
})

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(<App store={store} />)
